package com.gxa.core.recycling.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author xhy
 * @Date 2021/11/29 11:20
 */
@Data
/*@ToString(exclude = {"salt","longType","lastLoginTime",""})*/
@NoArgsConstructor
@AllArgsConstructor
//积分兑换标准表
@Table(name = "changepointsstandard")
@Entity
public class ChangePointsStandard implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private Long id;
    @Column(name = "vipId")
    //会员级别
    private String vipId;
    @Column(name = "wasteId")
    //废品Id
    private Long wasteId;
    @Column(name = "changeNum")
    //兑换积分
    private Integer changeNum;
}
